import http from "@/utils/http";

/** 路由配置 */
export class RouterConfigAPI {
   /** 添加路由信息 */
   static readonly Create = (params: RouterConfig.Create) => http.post("/api/routerConfig/create", params);

   static readonly Delete = (params: RouterConfig.Delete) => http.post("/api/routerConfig/delete", params);
   /** 修改路由信息 */
   static readonly Update = (params: RouterConfig.Update) => http.post("/api/routerConfig/update", params);

   static readonly Search = (params?: RouterConfig.Search) => http.get("/api/routerConfig/search", params);
}
